import _noUiSlider from 'nouislider';

window.__noUiSlider = _noUiSlider;
(function () {
    let template = function (self) {
        return `<div slider></div>  `;
    };

    document.auiDefineElement("aux-range-slider", {
        template,
        props: {
          
        },
        created: function(self) {
            self.$ele.root = self.children[0];
            _noUiSlider.create(self.$ele.root, {
                start: 0,
                step: 1,
                range: {
                    'min': 0,
                    'max': 100
                }
            });
        }
    });
})();
